package com.example.whm.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;


public class SubscribeRecord implements Serializable {


	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	String id;
	String user_id;
	String user_name;
	String contactname;
	String phone;
	String name;
	//String date_range;
	String subscribe_id;
	List<SubscribeItem> sub_items;
	int valid_days;
	int sub_price;
	//int sub_type;
	String note;


	String createtime=new Date().toLocaleString();
	
	
	
	
	public SubscribeRecord( String name, String user_name,String contactname,
			List<SubscribeItem> sub_items, int valid_days, 
			int sub_price,  String note) {
		super();
	
		this.name = name;
		this.contactname = contactname;
		this.user_name = user_name;
		//this.date_range = date_range;
		this.sub_items = sub_items;
		this.valid_days = valid_days;		
		this.sub_price = sub_price;
		this.note = note;
		
	}
	public SubscribeRecord() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
	
	
	
	
	
	public String getContactname() {
		return contactname;
	}
	public void setContactname(String contactname) {
		this.contactname = contactname;
	}
	public String getSubscribe_id() {
		return subscribe_id;
	}
	public void setSubscribe_id(String subscribe_id) {
		this.subscribe_id = subscribe_id;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public String getUser_name() {
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
	/*public int getSub_type() {
		return sub_type;
	}
	public void setSub_type(int sub_type) {
		this.sub_type = sub_type;
	}*/
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
/*	public String getDate_range() {
		return date_range;
	}
	public void setDate_range(String date_range) {
		this.date_range = date_range;
	}*/
	public List<SubscribeItem> getSub_items() {
		return sub_items;
	}
	public void setSub_items(List<SubscribeItem> sub_items) {
		this.sub_items = sub_items;
	}
	public int getValid_days() {
		return valid_days;
	}
	public void setValid_days(int valid_days) {
		this.valid_days = valid_days;
	}

	public int getSub_price() {
		return sub_price;
	}
	public void setSub_price(int sub_price) {
		this.sub_price = sub_price;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}


}
